﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Common;

namespace Nop.Data.Mapping.Common
{
    public class MenuMap : EntityTypeConfiguration<Menu>
    {
        public MenuMap()
        {
            this.ToTable("Era_Menu");
            this.HasKey(a => a.Id);
            this.Property(u => u.Title).HasMaxLength(50);
            this.Property(u => u.Href).HasMaxLength(100);
             
        }
    }
}
